import type { IMemberItem } from '@/api/mine/types';
import type { MemberOrderType } from '@/enums/membershipEnum';

/** 成员编辑 */
export type MembershipEdit = {
  item?: IMemberItem;
  callback: () => void;
};

/** 会员单位 分享相关回显的参数 */
export type MembershipManage = {
  shareMemberId?: number;
};

/** 申请入会 - 申请须知 */
export type MemberRights = {
  id: number;
};

/** 申请入会 - 入会表单 */
export type MembershipInfo = {
  id: number;
};

/** 待缴费 */
export type AwaitPay = {
  type: MemberOrderType;
  id?: number; // 申请ID, 缴费必传
  formStageId?: number; // 步骤ID, 缴费必传
};

/** 转账凭证 */
export type PlayMode = {
  id: number;
};

/** 工商信息 */
export type BusinessInfo = {
  id: number;
};

/** 政策服务报告 */
export type PolicyServiceReport = {
  name: string;
};

/** 政策详情 */
export type PolicyDetail = {
  id?: string;
};
